package com.lh0811.forge.dependency.security.core.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

import java.io.Serializable;
import java.util.List;

/**
 * @author lh0811
 * @date 2021/5/7
 */
@Getter
@Setter
@AllArgsConstructor
@NoArgsConstructor
public class SecurityPost implements Serializable {

    @Schema(description = "岗位id")
    private Long postId;

    @Schema(description = "岗位编号")
    private String postNo;

    @Schema(description = "岗位名称")
    private String name;

    @Schema(description = "角色列表")
    private List<SecurityRole> roleList;

    @Schema(description = "数据权限")
    private List<SecurityDataRule> dataScopeList;

}
